From 43023fc33a96ad2675ab8e19d3e7cbcd78335d45 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 2 Jul 2009 22:48:59 +0000 Subject: [PATCH] (tramp-gvfs-connection-mounted-p): Use `elt' instead of `mount-info'. --- lisp/net/tramp-gvfs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index e46727216d6..9241541a8e2 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el @@ -925,7 +925,7 @@ ADDRESS can have the form \"xx:xx:xx:xx:xx:xx\" or \"[xx:xx:xx:xx:xx:xx]\"." nil) ;; The interface of mount-info has been changed. We must handle ;; both cases. - (let* ((last-nth (if (nth 9 mount-info) 9 8)) + (let* ((last-nth (if (nth 9 elt) 9 8)) (mount-spec (nth 1 (nth last-nth elt))) (method (dbus-byte-array-to-string (cadr (assoc "type" mount-spec)))) -- 2.30.2